package com.example.application1.API;

import com.example.application1.Entity.Bean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface GouJiNewsApi {
//http://api.tianapi.com/world/index
    @GET("world/index")
    Call<Bean> getCall(@Query("key") String key ,@Query("num") int num);
}
